set_property PACKAGE_PIN N18 [get_ports clk_50MHZ]
set_property IOSTANDARD LVCMOS33 [get_ports clk_50MHZ]
set_property PACKAGE_PIN P15 [get_ports ledn]
set_property IOSTANDARD LVCMOS33 [get_ports ledn]
set_property IOSTANDARD LVCMOS33 [get_ports rstn]
set_property IOSTANDARD LVCMOS33 [get_ports {gpio[7]}]
set_property IOSTANDARD LVCMOS33 [get_ports {gpio[6]}]
set_property IOSTANDARD LVCMOS33 [get_ports {gpio[5]}]
set_property IOSTANDARD LVCMOS33 [get_ports {gpio[4]}]
set_property IOSTANDARD LVCMOS33 [get_ports {gpio[3]}]
set_property IOSTANDARD LVCMOS33 [get_ports {gpio[2]}]
set_property IOSTANDARD LVCMOS33 [get_ports {gpio[1]}]
set_property IOSTANDARD LVCMOS33 [get_ports {gpio[0]}]
set_property PACKAGE_PIN P16 [get_ports rstn]
set_property PACKAGE_PIN N17 [get_ports {gpio[0]}]
set_property PACKAGE_PIN P18 [get_ports {gpio[1]}]
set_property PACKAGE_PIN R16 [get_ports {gpio[2]}]
set_property PACKAGE_PIN R17 [get_ports {gpio[3]}]
set_property PACKAGE_PIN T16 [get_ports {gpio[4]}]
set_property PACKAGE_PIN U17 [get_ports {gpio[5]}]
set_property PACKAGE_PIN W18 [get_ports {gpio[6]}]
set_property PACKAGE_PIN W19 [get_ports {gpio[7]}]

#set_property PULLUP true [get_ports {bus_din_data[0]}]
#set_property PULLUP true [get_ports {bus_din_data[1]}]
#set_property PULLUP true [get_ports {bus_din_data[2]}]
#set_property PULLUP true [get_ports {bus_din_data[3]}]
#set_property PULLUP true [get_ports {bus_din_data[4]}]
#set_property PULLUP true [get_ports {bus_din_data[5]}]
#set_property PULLUP true [get_ports {bus_din_data[6]}]
#set_property PULLUP true [get_ports {bus_din_data[7]}]
#set_property PULLUP true [get_ports {bus_din_data[8]}]
#set_property PULLUP true [get_ports {bus_din_data[9]}]
#set_property PULLUP true [get_ports {bus_din_data[10]}]
#set_property PULLUP true [get_ports {bus_din_data[11]}]
#set_property PULLUP true [get_ports {bus_din_data[12]}]
#set_property PULLUP true [get_ports {bus_din_data[13]}]
#set_property PULLUP true [get_ports {bus_din_data[14]}]
#set_property PULLUP true [get_ports {bus_din_data[15]}]
#set_property IOSTANDARD LVCMOS33 [get_ports {bus_din_data[15]}]
#set_property IOSTANDARD LVCMOS33 [get_ports {bus_din_data[14]}]
#set_property IOSTANDARD LVCMOS33 [get_ports {bus_din_data[13]}]
#set_property IOSTANDARD LVCMOS33 [get_ports {bus_din_data[12]}]
#set_property IOSTANDARD LVCMOS33 [get_ports {bus_din_data[11]}]
#set_property IOSTANDARD LVCMOS33 [get_ports {bus_din_data[10]}]
#set_property IOSTANDARD LVCMOS33 [get_ports {bus_din_data[9]}]
#set_property IOSTANDARD LVCMOS33 [get_ports {bus_din_data[8]}]
#set_property IOSTANDARD LVCMOS33 [get_ports {bus_din_data[7]}]
#set_property IOSTANDARD LVCMOS33 [get_ports {bus_din_data[6]}]
#set_property IOSTANDARD LVCMOS33 [get_ports {bus_din_data[5]}]
#set_property IOSTANDARD LVCMOS33 [get_ports {bus_din_data[4]}]
#set_property IOSTANDARD LVCMOS33 [get_ports {bus_din_data[3]}]
#set_property IOSTANDARD LVCMOS33 [get_ports {bus_din_data[2]}]
#set_property IOSTANDARD LVCMOS33 [get_ports {bus_din_data[1]}]
#set_property IOSTANDARD LVCMOS33 [get_ports {bus_din_data[0]}]

#set_property PACKAGE_PIN V12 [get_ports {bus_din_data[0]}]
#set_property PACKAGE_PIN W13 [get_ports {bus_din_data[1]}]
#set_property PACKAGE_PIN T14 [get_ports {bus_din_data[2]}]
#set_property PACKAGE_PIN T15 [get_ports {bus_din_data[3]}]
#set_property PACKAGE_PIN T11 [get_ports {bus_din_data[4]}]
#set_property PACKAGE_PIN T10 [get_ports {bus_din_data[5]}]
#set_property PACKAGE_PIN V15 [get_ports {bus_din_data[6]}]
#set_property PACKAGE_PIN W15 [get_ports {bus_din_data[7]}]
#set_property PACKAGE_PIN P14 [get_ports {bus_din_data[8]}]
#set_property PACKAGE_PIN R14 [get_ports {bus_din_data[9]}]
#set_property PACKAGE_PIN U14 [get_ports {bus_din_data[10]}]
#set_property PACKAGE_PIN U15 [get_ports {bus_din_data[11]}]
#set_property PACKAGE_PIN U13 [get_ports {bus_din_data[12]}]
#set_property PACKAGE_PIN V13 [get_ports {bus_din_data[13]}]
#set_property PACKAGE_PIN T12 [get_ports {bus_din_data[14]}]
#set_property PACKAGE_PIN U12 [get_ports {bus_din_data[15]}]

set_property IOSTANDARD LVCMOS33 [get_ports {motor[3]}]
set_property IOSTANDARD LVCMOS33 [get_ports {motor[2]}]
set_property IOSTANDARD LVCMOS33 [get_ports {motor[1]}]
set_property IOSTANDARD LVCMOS33 [get_ports {motor[0]}]
set_property PACKAGE_PIN Y19 [get_ports {motor[0]}]
set_property PACKAGE_PIN Y17 [get_ports {motor[1]}]
set_property PACKAGE_PIN V18 [get_ports {motor[2]}]
set_property PACKAGE_PIN Y14 [get_ports {motor[3]}]

set_property IOSTANDARD LVCMOS33 [get_ports uart_tx]
set_property IOSTANDARD LVCMOS33 [get_ports uart_rx]
set_property PACKAGE_PIN W16 [get_ports uart_tx]
set_property PACKAGE_PIN R18 [get_ports uart_rx]


